
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>所属人员每日工作查询</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;">
<div class="wrapper wrapper-content">
  <form action="" class="form-inline">
 <table class="table table-bordered col-md-6 text-center animated fadeInRight">
    <tr class="info">
      <td style="font-size: 18px;">选择在岗调查</td>
    </tr>
    <tr>
        <td>
          <p class="padding-10"> <label for="jituan">
            <input type="radio" name="zgCheckNum" class="" id="jituan" value="0" checked="checked">按集团当前在岗人数
          </label></p>
          <p class="padding-10">
            <label for="fenqu">
               <input type="radio" name="zgCheckNum" class="" id="fenqu" value="1" >按分区当前在岗人数
          </label>
          </p>
          <p class="padding-10">
             <label for="province">
            <input type="radio" name="zgCheckNum" class="" id="province" value="2" >按省份当前在岗人数
          </label>
          </p>
          <p class="padding-10">
                <label for="city">
            <input type="radio" name="zgCheckNum" class="" id="city" value="3" >按城市当前在岗人数
          </label>
          </p>
          <p class="padding-10">
            <label for="appoint">
            <input type="radio" name="zgCheckNum" class="" id="appoint" value="4" >指定当前在岗人数
          </label>&nbsp;&nbsp;&nbsp;&nbsp;
          </p>
       
        </td>
    </tr>
    <tr id="ishideTr" style="display: none;">
      <td class="text-left">
      选择<span class="kindtext" id="thistext"></span>
      <div class="input-group">
                 <input type="text" class="form-control" name="" id="kindInput" placeholder="请输入关键字或空格查询" autocomplete="off">
                                        <div class="input-group-btn">
                                            <ul class="dropdown-menu dropdown-menu-right" role="menu" style="padding-top: 0px; max-height: 375px; max-width: 800px; overflow: auto; width: auto; transition: 0.3s; left: -179px; right: auto; min-width: 179px;">
                                            </ul>
                                        </div>
               </div>
               <a href="javascript:;">选择</a>&nbsp;&nbsp;<a href="javascript:;">清空</a>
               <p class="padding-10">您选择的<span class="kindtext"></span>是：</p>
      </td>
    </tr>
    <tr>
      <td>
        <div class="padding-10 text-center">
          <button class="btn btn-primary" type="button" id="nextStep">下一步</button><span class="lr_5"></span><button class="btn btn-warning" type="button" id="fanhui">取消</button>
        </div>
      </td>
    </tr>
 </table>
  </form> 
</div>
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
  <script src="__STATIC__/layout/js/contabs_sub.js"></script>

    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script>
$("input[name='zgCheckNum']").each(function(){
     $(this).click(function(){
         if($(this).val()==0){
               $("#ishideTr").hide();
           }else if($(this).val()==1){
              $("#ishideTr").show();
              $(".kindtext").text("分区");
           }else if($(this).val()==2){
              $("#ishideTr").show();
              $(".kindtext").text("省份");
           }else if($(this).val()==3){
              $("#ishideTr").show();
              $(".kindtext").text("城市");
           }else if($(this).val()==4){
              $("#ishideTr").show();
              $(".kindtext").text("导购员");
           }else{
            return false
           }
     })
})
 

 /*下一步*/   
 $("#nextStep").click(function(){
  var thistext = $("#thistext");
    if($("#jituan").prop("checked")){
        location.href="{:url('Other/xiafazgcheck')}"
    }else if($("#kindInput").val()==""){
            confirm("请选择"+thistext.text()+"再提交")
    }
 }) 

  $('#fanhui').on('click',function () {
//                    parent.layer.close(parent.layer.getFrameIndex(window.name))
                    parent.location.reload();
                    return false
                })

</script>
</body>

</html>